package com.xh.bussiness.permission.bean.request;

import com.xh.core.bean.BaseRequestBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "MenuRequest",description = "菜单保存参数对象")
public class MenuRequest extends BaseRequestBean {

    @ApiModelProperty(value = "id",notes ="id" ,dataType = "String", required = false)
    private String id;

    @ApiModelProperty(value = "name",notes = "菜单名称",required = true,dataType = "String")
    private String name;

    @ApiModelProperty(value = "parentId",notes = "父级id",required = true,dataType = "String")
    private String parentId;

    @ApiModelProperty(value = "iconUrl",notes = "图标url",required = true,dataType = "String")
    private String iconUrl;

    @ApiModelProperty(value = "url",notes = "请求地址",required = true,dataType = "String")
    private String url;

    @ApiModelProperty(value = "extendId",notes = "继承哪个url的权限",required = true,dataType = "String")
    private String extendId;

    @ApiModelProperty(value = "isShow",notes = "是否显示",required = true,dataType = "Integer")
    private Integer isShow;

    @ApiModelProperty(value = "isShowInPermission",notes = "是否分权限时显示",required = true,dataType = "Integer")
    private Integer isShowInPermission;

    @ApiModelProperty(value = "functionCodes",notes = "功能编码集合",required = true,dataType = "String")
    private String functionCodes;

    @ApiModelProperty(value = "order",notes = "序号",required = true,dataType = "Integer")
    private Integer order;
}
